import machine

rtc = machine.RTC()
time = rtc.datetime()

print(f"Time: {time[3]}:{time[4]}:{time[5]} {time[2]}:{time[1]}:{time[0]}")

